<?php
namespace Common\Controller;
use Common\Controller\PHPExcelController;
class PHPExcelController extends Controller {



	public function _initialize()
	{
		set_time_limit(900);
		ini_set("memory_limit", "1024M");
		vendor('PHPExcel.PHPExcel','','.php');
	}
	public function index()
	{
/** PHPExcel_IOFactory */
//include 'PHPExcel/IOFactory.php';
vendor('PHPExcel.PHPExcel.IOFactory','','.php');


$inputFileName = 'D:/wamp/vhosts/ali.8g.com/Application/Admins/Controller/sampleData/111.xls';


//import('Common.Util.chunkReadFilter');


$inputFileType = 'Excel5';




$objPHPExcel = \PHPExcel_IOFactory::load($inputFileName); 


$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);
var_dump($sheetData);
}

}


?>